package com.ge.modules.api.service;

import com.ge.modules.entity.TbRechargeOrderEntity;
import com.ge.modules.entity.TbUserCardEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户会员卡表
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-07-23 11:40:31
 */
public interface TbUserCardService {
	
	TbUserCardEntity queryObject(Integer id);

	TbUserCardEntity queryByObject(TbUserCardEntity userCard);
	
	List<TbUserCardEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbUserCardEntity userCard);
	
	void update(TbUserCardEntity userCard);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);

	void updateSomeThing(TbUserCardEntity userCard,TbRechargeOrderEntity rechargeOrderEntity);
}
